CentOS 6
Sponsored Link

Munin : Add Monitoring target item
2015/02/18
 
Enable plugin to add new monitoring target items.
Plugins are located like here, but it's possbile to add 3rd party's one or your original plugins.
⇒ https://github.com/munin-monitoring/contrib/
For example, add a terget iten to enable Apache access plugin on here.
[1] Configure on the target host you'd like to enable a new plugin.
[root@node01 ~]#
ln -s /usr/share/munin/plugins/apache_accesses /etc/munin/plugins/apache_accesses

[root@node01 ~]#
vi /etc/httpd/conf/httpd.conf
# line 228: uncomment

ExtendedStatus On
# line 921-926: uncomment

<Location /server-status>
  SetHandler server-status
  Order deny,allow
  Deny from all
  Allow from
127.0.0.1
 
# change parmission

</Location>
[root@node01 ~]#
/etc/rc.d/init.d/httpd restart

Stopping httpd:
[ OK ]

Starting httpd:
[ OK ]

[root@node01 ~]#
/etc/rc.d/init.d/munin-node restart

Stopping Munin Node agents:
[ OK ]

Starting Munin Node:
[ OK ]

[2] Login to the Munin admin site and make sure a new taget item is displayed after few minutes later.
 
Tweet